package com.atguigu.dao;

import com.atguigu.pojo.Permission;
import com.atguigu.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

public interface PermissionDao {

    //根据权限id  联表查询
    Set<Permission> findByRoleId(@Param("id")Integer id);
}
